demo_list = ["zhangsan", "lisi", "wangwu", "lisi"]
num_list=[1,2,5,3,4]
print(len(demo_list))

print(demo_list.count("lisi"))

demo_list.sort()
print(demo_list)
num_list.sort()
print(num_list)
num_list.sort(reverse=True)
print(num_list)
num_list=[1,2,5,2,3]
num_list.reverse()
print(num_list)

print()
for name in demo_list:
    print(f"我的名字是{name}")